package nancal.mp.client.iam


import nbcp.base.comm.ApiResult
import nbcp.http.HttpClient
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestBody


@HttpClient("mp-oauth-api")
interface IamCAuthApiClient {

    class AuthUrlDataModel(var url: String = "",var userId : String = "")

    @PostMapping("/oauth/getAuthResult")
    fun getAuthResult(
        @RequestBody url: AuthUrlDataModel
    ): ApiResult<Boolean>
}